package com.sudo.dao.admin.model.bo;

import com.sudo.common.validenum.EnumValue;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class SysServerNodeUpdateBO {

    @NotBlank(message = "服务节点不能为空")
    private String server;

    @NotBlank(message = "类型不能为空")
    @EnumValue(strValues = {"AUTO","MANUAL"} ,message = "类型必须为指定值AUTO/MANUAL")
    private String type;

    private String note;

}
